package com.gy.edu.home.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.gy.edu.R;

/**
 * Created by 高岳 on 2016/12/22.
 * Describe:课程评论列表
 */
public class ClassCommentAdapter extends BaseAdapter {

    private Context context;

    public ClassCommentAdapter(Context context){
        this.context = context;
    }

    @Override
    public int getCount() {
        return 10;
    }

    @Override
    public Object getItem(int position) {
        return null;
    }

    @Override
    public long getItemId(int position) {
        return 0;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        if(convertView == null){
            convertView = View.inflate(context, R.layout.adapter_class_detail_comment,null);
        }
        return convertView;
    }
}
